//
//  SweepViewController.h
//  BaChat
//
//  Created by dllo on 16/6/13.
//  Copyright © 2016年 刘洋. All rights reserved.
//

#import "BaseViewController.h"

@interface SweepViewController : BaseViewController<AVCaptureMetadataOutputObjectsDelegate,UIAlertViewDelegate>
//属性,不需要写self
{
    int num;
    BOOL upOrdown;
    NSTimer * timer;
    UIImageView * imageView;
  
    
    BOOL hasCameraRight;
    
}

@property (retain,nonatomic)AVCaptureDevice * device;
@property (retain,nonatomic)AVCaptureDeviceInput * input;
@property (retain,nonatomic)AVCaptureMetadataOutput * output;
@property (retain,nonatomic)AVCaptureSession * session;
@property (retain,nonatomic)AVCaptureVideoPreviewLayer * preview;
@property (nonatomic, retain) UIImageView * line;

//@property (nonatomic, retain) NSString *type;
//@property (nonatomic, retain)BOOL upOrdown;
//@property (nonatomic, retain)NSTimer *timer;
//@property (nonatomic, retain)UIImageView *imageView;
//@property (nonatomic, retain)BOOL hasCameraRight;

@property(nonatomic,assign)BOOL isAddFriend;
@property(nonatomic,copy)void (^hudBlock)(NSString *hudString);

@end
